package org.schedule.service;


import org.schedule.entity.User;

import java.util.List;

public interface UserService {

    User findByUsername(String username);


    Boolean saveUserInfo(User userInfo);

    Boolean updateUserInfo(User userInfo);

    Boolean deleteUserInfo(Integer id);

    User login(String username, String password);

    List<User> findUserInfoListByUsername(String username);

    List<User> queryUserInfoList();

    User findUserInfoById(Integer id);

}
